﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;


//选人界面角色结构
public class SelectRoleInfo
{
    public string Name;//角色名
    public int ModelID;//模型ID

}

//消息基类
public class Cmd
{

}

//登入 C-->S
public class LoginCmd : Cmd
{
    public string Account;
    public string Password;
}

//选择角色C-->S
public class SelectRoleCmd : Cmd
{
    //角色索引
    public int Index;
}


//主角ThisID  S--C

public class MainRoleThisIDCmd : Cmd
{
    public int ThisID;
}


//进入地图 S--C
public class EnterMapCmd : Cmd
{
    public int MapID;
}

//玩家的角色列表  S--C
public class RoleListCmd : Cmd
{
    //list保存玩家的所有角色
    public List<SelectRoleInfo> AllRole = new List<SelectRoleInfo>();
}

public class CreateSceneRoleCmd :Cmd
{
    public int ThisID;
    public string Name;
    public int ModleID;

    public Vector3 pos;
    public Vector3 FaceTo;

}
